﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.Micro;
using System.ComponentModel.Composition;
using System.Windows.Media;
using System.Windows;
using FamilyShowSource.Events;

namespace FamilyShowSource.ViewModels
{
    [Export(typeof(WelcomeViewModel))]
    public class WelcomeViewModel
    {
        /// <summary>
        /// Notify the application to active the NewUser view
        /// </summary>
        public void New()
        {
            EventAggregatorFactory.Instance.GetEvent<NotifyActivateNewUserEvent>().Publish(string.Empty);
        }

        public void Open()
        {
            MessageBox.Show("Open");
        }

        public void Import()
        {
            MessageBox.Show("Import");
        }
    }
}
